package com.twu.biblioteca;

import com.twu.biblioteca.Constants.Messages;
import com.twu.biblioteca.services.BookPrintService;
import com.twu.biblioteca.services.MoviePrintService;

import java.io.IOException;

public class BibliotecaApp {
    private static BookPrintService bookPrintService = new BookPrintService();
    private static MoviePrintService moviePrintService = new MoviePrintService();

    public static void main(String[] args) throws IOException {
        System.out.println(Messages.WELCOME_MESSAGE);

        bookPrintService.showAllAvailableBooks();
        bookPrintService.inputAvailableBookAndCheckoutSuccess();
        bookPrintService.chooseUnavailableBookAndCheckoutFail();
        bookPrintService.returnBook();

        moviePrintService.showAllAvailableMovies();
        moviePrintService.login();
        moviePrintService.checkout();
        moviePrintService.showUserInformationForCurrentUser();
    }


}
